package com.qianfeng.day2.myclient1.server.serverImpl;

import com.qianfeng.day2.myclient1.mapper.BdMapper;
import com.qianfeng.day2.myclient1.model.TbBd;
import com.qianfeng.day2.myclient1.server.BdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class BdServiceImpl implements BdService {
    @Autowired
    private BdMapper bdMapper;
    @Override
    public List<TbBd> findAll() {

        return bdMapper.selectAll();
    }
}
